package com.thinkit.bigdata.web.dao.bus;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.bus.*;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface BusWorkTestMapper {
    int countByExample(BusWorkTestExample example);

    int deleteByExample(BusWorkTestExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BusWorkTestWithBLOBs record);

    int insertSelective(BusWorkTestWithBLOBs record);

    List<BusWorkTestWithBLOBs> selectByExampleWithBLOBs(BusWorkTestExample example);

    List<BusWorkTestWithBLOBs> selectByExampleWithBLOBs(Page<BusWorkTestWithBLOBs> page, BusWorkTestExample example);

    List<BusWorkTest> selectByExample(BusWorkTestExample example);

    BusWorkTestWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BusWorkTestWithBLOBs record, @Param("example") BusWorkTestExample example);

    int updateByExampleWithBLOBs(@Param("record") BusWorkTestWithBLOBs record, @Param("example") BusWorkTestExample example);

    int updateByExample(@Param("record") BusWorkTest record, @Param("example") BusWorkTestExample example);

    int updateByPrimaryKeySelective(BusWorkTestWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(BusWorkTestWithBLOBs record);

    int updateByPrimaryKey(BusWorkTest record);



    List<BusWorkTestCopy> selectWorkInfos(Map<String, Object> map);

    List<Map<String, Object>> selectWorkInfos(Page page, Map<String, Object> map);

    List<BusModel> selectDateList(Map<String, Object> map);
}
